/**
 * Shopware 5
 * Copyright (c) shopware AG
 *
 * According to our dual licensing model, this program can be used either
 * under the terms of the GNU Affero General Public License, version 3,
 * or under a proprietary license.
 *
 * The texts of the GNU Affero General Public License with an additional
 * permission and of our proprietary license can be found at and
 * in the LICENSE file you have received along with this program.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 * GNU Affero General Public License for more details.
 *
 * "Shopware" is a registered trademark of shopware AG.
 * The licensing of the program under the AGPLv3 does not imply a
 * trademark license. Therefore any rights, title and interest in
 * our trademarks remain entirely with us.
 *
 * @category   Shopware
 * @package    Shopware_Styling
 * @subpackage Live Article Search
 * @version    $Id$
 * @author shopware AG
 */
@mixin shopware-livearticlesearch {
    .#{$prefix}search-article-live-field {

        .#{$prefix}form-trigger-wrap,
        .#{$prefix}form-trigger-wrap tbody,
        .#{$prefix}form-trigger-wrap tr,
        .#{$prefix}form-trigger-wrap td {
            display: block;
        }
        .reset {
            width: 14px;
            height: 14px;
            margin: 4px 0 0;
            border: 0 none;
            background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAOCAYAAAAfSC3RAAABn0lEQVR42mWRzW7TQBDHF54AcaigPAji3AO99Fk45VahCHHgZUguDbs7u5svOw5O4EIUReobIA4Q2w1BajT978iGOIw08vi/89v5WHVs/X7/ifH+jbE0s87/1pb+GOsya23HZNlTdWrM/AiHL8n7Gz8cMaCWi0bOaq1fxdy/oCa6APR9NJkyqrAm10D4d6INxxMmH35o514L1Ov1zizREgeSkM4yniQpG8BwiRNo8SwgB5VXg8HgmdJWd2IrAmVzrsqKy6riPF/w4stXiYui5LSGYy7mfq+sc0u0JOI0nXGFRBi+d7zb7SQucdlkmrCpR8B3reL24I3A+WIpUG1y0WdUr6HG7xWEfQtcArw7ARf/gfsIrqRVcmg1lcQGaC4oq1arcHer8OBv/y0n46IsuYTP8zxWl/m224ITzC+bHY2ZyH9QH415jmrfIMQDWf04SVrPMYXWQNaFDaXpuYo28P7ShfCzhlvzIK6fAZV8+PXJ2ivVWLfbfWyMuSTnpTKAlotGYROhmKtOTdq27tqidVQ6ADoY59fk6V0I4cVx7gOKGS5sUgYOBQAAAABJRU5ErkJggg==") no-repeat;
        }
    }

    .#{$prefix}search-article-live-drop-down {
        @include border-radius(4px);
        @include single-box-shadow(lighten($font-color, 25%), 0, 4px);
        overflow: visible;

		// Forces the live search to be on front of all desktops
		position: fixed !important;

        .header {
            @include border-radius(4px 4px 0 0);
            border: 1px solid #1672d5;

            .arrow {
                width: 10px;
                height: 7px;
                background: theme-image($theme, 'arrow-search.png') no-repeat;
                position: absolute;
                left: 16px;
                top: -5px;
            }

            .header-inner {
                @include border-radius(4px 4px 0 0);
                border: 1px solid #93d5f6;
                border-bottom: 0 none;
                background: theme-image($theme, 'bg_search-header.png') repeat-x;
                line-height: 32px;
            }

            .title {
                margin: 0 0 0 12px;
                color: #fff;
                font-weight: 700;
                text-shadow: 1px 1px 1px #237fdd;
            }
        }

        .content {
            @include border-radius(0 0 4px 4px);
            border: 1px solid #a4adb4;
            border-top: 0 none;
            background: #fff;
            color: #475c6b;
            text-shadow: 1px 1px 1px #fff;
            padding: 6px 0;

            .name {
                font-weight: 700;
                display: block;
            }
            .ordernumber {
                font-size: 11px;
                color: #999;
            }

            .item {
                padding: 4px 0 4px 12px;
                margin: 0 1px;
                border-top: 1px solid transparent;
                border-bottom: 1px solid transparent;
                cursor: pointer;
            }

            .#{$prefix}drop-down-over {
                background: #e2f3ff;
                border-top: 1px solid #c3ddf1;
                border-bottom: 1px solid #c3ddf1;
            }
        }
    }
}
